<template>
  <div>
    <el-row :gutter="20">
      <el-col :span="6">
        <el-card shadow="hover">
          <total-sales></total-sales>
        </el-card>
      </el-col>
      <el-col :span="6">
        <el-card shadow="hover">
          <total-orders></total-orders>
        </el-card>
      </el-col>
      <el-col :span="6">
        <el-card shadow="hover">
          <today-users></today-users>
        </el-card>
      </el-col>
      <el-col :span="6">
        <el-card shadow="hover">
          <total-users></total-users>
        </el-card>
      </el-col>
    </el-row>
  </div>
</template>

<script>
import TodayUsers from './components/TodayUsers'
import TotalSales from './components/TotalSales'
import TotalOrders from './components/TotalOrders'
import TotalUsers from './components/TotalUsers'
export default {
  components: {
    TotalSales,
    TodayUsers,
    TotalOrders,
    TotalUsers
  }
}
</script>
<style lang='scss' scoped>
</style>
<style>
/* 提取的三角形的样式 start */
.increat {
    width: 0;
    height: 0;
    border-width: 3px;
    border-color: transparent transparent red transparent;
    border-style: solid;
    margin: 0 0 3px 5px;
}
.decrease {
    width: 0;
    height: 0;
    border-width: 3px;
    border-color: green transparent transparent transparent;
    border-style: solid;
    margin: 3px 0 0 5px;
}
/* 提取的三角形的样式 end */
</style>
